<foreach name="goods_list" item="vo" key="k">
  <li>
                <if condition="$vo[start_time] elt $time and $vo[end_time] egt $time">
                     <a href="{:U('Mobile/Activity/group',array('id'=>$vo[goods_id]))}" class="item">
                <else/>
                    <a href="{:U('Mobile/Goods/goodsInfo',array('id'=>$vo[goods_id]))}" class="item">
                </if>
             <div class="pic_box">
        
                <if condition="$vo[start_time] elt $time and $vo[end_time] egt $time">
                     <div class="active_box" style="width:20%"><img src="/public/static/images/mobile/cc_icon.png" class="cc_icon"></div>
                </if>
        
                <img src="{$vo.goods_id|goods_thum_images=400,400}">
                <div class="z-time"><div class="jstimerBox{$vo[goods_id]}"></div></div>
                <script>
                Tday['{$vo[goods_id]}'] = new Date('{$vo.end_time|date="Y/m/d H:i:s",###}');  
                window.setInterval(function()    
                {
                  $('.jstimerBox{$vo[goods_id]}').html(clock11('{$vo[goods_id]}'));
                }, 1000);  
                </script> 
            </div>
            <div class="title_box">{$vo.goods_name}</div>
            <div class="price_box">
                <if condition="$vo[start_time] elt $time and $vo[end_time] egt $time">
                   <i class="label-red">筹</i><span class="new_price"><i>￥{$vo.price}元</i></span>
                   <else/>
                   <span class="new_price"><i>￥{$vo.shop_price}元</i></span>
                 </if>
                
                <span class="comment_box" style="float: right;display: block;font-size:12px">已售{$vo.sales_sum}件</span>
            </div>
            
        </a>
        <div class="ui-number b"> 
            <a class="decrease" onClick="goods_cut({$vo.goods_id});">-</a>
            <input class="num" id="number_{$vo.goods_id}" type="text" onBlur="changePrice();" value="1" onFocus="if(value=='1') {value=''}" size="4" maxlength="5">
            <a class="increase" onClick="goods_add({$vo.goods_id});">+</a> 
        </div>
        <span class="bug_car" onClick="AjaxAddCart({$vo[goods_id]},$('#number_'+{$vo.goods_id}).val(),0);"><i class="icon-shop_cart"></i></span>
      </li>
</foreach>